Processor and information processing apparatus

ABSTRACT

A processor includes a controller that measures an error rate of a signal that propagates through a communication line; switches to use a spare line to perform a first communication when a first error rate of a signal that propagates through a first communication line of a first line group exceeds a first threshold, the first communication being performed using the first communication line; and switches to use the first communication line to perform the first communication and switches to use the spare line to perform a second communication when the first communication is performed using the spare line, when a second error rate of a signal that propagates through a second communication line of a second line group exceeds a second threshold higher than the first threshold, and when the first error rate is lower than the second threshold; and a processor core that exchanges information via the controller.

CROSS-REFERENCE TO RELATED APPLICATION

This application is based upon and claims the benefit of priority of theprior Japanese Patent Application No. 2018-136597, filed on Jul. 20,2018, the entire contents of which are incorporated herein by reference.

FIELD

The embodiments discussed herein are related to a processor and aninformation processing apparatus.

BACKGROUND

In recent years, a new stacking technology such as CoWoS® has beendeveloped, and the implementation of mounting a processor and a memoryin the same package is beginning to increase. However, this causes adifficulty in an alternation of each mounted component, which may leadto a deterioration in the yield and repair cost.

Accordingly, when a failure occurs in a communication line that connectsa high bandwidth memory (HBM) which is a memory manufactured by theabove-described stacking technology and its memory controller to eachother, the HBM and the memory controller have a function to perform acommunication with each other using a spare line, instead of thecommunication line in which the failure occurs.

In addition, as for the spare line used by the HBM and the memorycontroller, one spare line is provided for every two communication linegroups (each communication line group propagates a data signal, a datamask signal, and a data inversion control signal).

Related techniques are disclosed in, for example, Japanese Laid-openPatent Publication No. 2014-241082 and Japanese Laid-open PatentPublication No. 2010-113751.

Related techniques are disclosed in, for example, SK Hynix, “TSV basedMemory Solutions Engaging in IoT & IoETrend,” p. 25, [online], 2015,MemCon, Santa Clara, <searched at May 29, 2018>, Internet<http://www.memcon.com/pdfs/proceedings2015/MKT105_SKhynix.pdf>.

As described above, only one spare line is provided for every twocommunication line groups. Therefore, when a spare line is already usedin one of the two communication line groups, the other communicationline group may not use the spare line even though the othercommunication line group has a communication line of which an error rateis higher than that of the communication line included in the onecommunication line group. As a result, the stability of thecommunication may be deteriorated.

SUMMARY

According to an aspect of the embodiments, a processor includes a memorycontrol circuit connected to a memory by a first communication linegroup and a second communication line group and the memory controlcircuit configured to: measure an error rate of a signal that propagatesthrough a communication line included in each of the first communicationline group and the second communication line group; switch to use aspare line to perform a first communication with the memory when a firsterror rate of a signal that propagates through a first communicationline included in the first communication line group exceeds a firstthreshold value, the first communication being a communication performedusing the first communication line; and switch to use the firstcommunication line to perform the first communication and switch to usethe spare line to perform a second communication with the memory whenthe first communication is performed using the spare line, when a seconderror rate of a signal that propagates through a second communicationline included in the second communication line group exceeds a secondthreshold value higher than the first threshold value, and when thefirst error rate is lower than the second threshold value, the secondcommunication being a communication performed using the secondcommunication line; and a processor core configured to exchangeinformation with the memory via the memory control circuit.

The object and advantages of the invention will be realized and attainedby means of the elements and combinations particularly pointed out inthe claims. It is to be understood that both the foregoing generaldescription and the following detailed description are exemplary andexplanatory and are not restrictive of the invention, as claimed.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a view illustrating an example of an information processingapparatus according to a first embodiment;

FIG. 2 is a view illustrating an example in which one communication linein each of two communication line groups is brought into an unusedstate;

FIG. 3 is a view illustrating an example of an information processingapparatus and a processor according to a second embodiment;

FIG. 4 is a view illustrating an example of a first alternation flag anda second alternation flag in an initial state;

FIG. 5 is a view schematically illustrating the state of a switchingunit in the initial state;

FIG. 6 is a flowchart illustrating a flow of an example of an operationof an alternation point determination unit;

FIG. 7 is a view illustrating a modification of the first alternationflag;

FIG. 8 is a view illustrating an example in which a communication linebeing used is switched;

FIG. 9 is a view illustrating a modification of the second alternationflag; and

FIG. 10 is a view illustrating an example in which a communication lineis switched when the second alternation flag becomes ON in a state wherea spare line is being used.

DESCRIPTION OF EMBODIMENTS

Hereinafter, embodiments of the present disclosure will be describedwith reference to the accompanying drawings.

First Embodiment

FIG. 1 is a view illustrating an example of an information processingapparatus according to a first embodiment.

An information processing apparatus 10 includes a processor 11, an HBM12, communication line groups 13 a and 13 b that connect the processor11 and the HBM 12 to each other, and a spare line 13 c.

The processor 11 is, for example, a central processing unit (CPU), adigital signal processor (DSP), a graphics processing unit (GPU) or thelike, and includes a processor core unit 11 a and a memory controller 11b.

The processor core unit 11 a has a cache memory device and the like inaddition to a processor core, and exchanges information with the HBM 12via the memory controller 11 b.

The memory controller 11 b is connected to the HBM 12 by a plurality ofcommunication lines in which one spare line is provided for every twocommunication line groups.

Hereinafter, for the sake of simplification, an example in which the twocommunication line groups 13 a and 13 b and the spare line 13 c are usedas the plurality of communication lines will be described. Thecommunication line group 13 a includes communication lines 13 a 1, 13 a2, 13 a 3, . . . , 13 a 9, and 13 a 10. When the spare line 13 c is notused as one communication line of the communication line group 13 a,data signals DQ0, DQ1, . . . , and DQ7, and a data mask signal DM and adata inversion control signal DBI which will be described later arepropagated by the communication lines 13 a 1 to 13 a 10. Thecommunication line group 13 b includes communication lines 13 b 1, 13 b2, 13 b 3, . . . , 13 b 9, and 13 b 10. When the spare line 13 c is notused as one communication line of the communication line group 13 b, thesame signals as described above are propagated by the communicationlines 13 b 1 to 13 b 10.

The memory controller 11 b includes an access request controller 11 b 1,an HBM controller 11 b 2, and an alternation point determination unit 11b 3.

The access request controller 11 b 1 outputs the data mask signal DM,the data signals DQ0 to DQ7, and the data inversion control signal DBIbased on an access request to the HBM 12, write data and the like whichare supplied from the processor core unit 11 a. In addition, the accessrequest controller 11 b 1 receives read data which is read from the HBM12 as the data signals DQ0 to DQ7, and transmits the read data to theprocessor core unit 11 a.

Further, when the logic level of each bit of the write data has more L(Low) than H (High), the access request controller 11 b 1 has a functionto invert the logic levels of the respective bits of the write data togenerate the data signals DQ0 to DQ7. This is because the HBM 12consumes a relatively more power when processing a signal with a logiclevel of L than when processing a signal with a logic level of H.

The data mask signal DM is a signal for masking the data signals DQ0 toDQ7. For example, when the logic level of the data mask signal DM is H,the data signals DQ0 to DQ7 are not written in the HBM12.

The data inversion control signal DBI is a signal indicating whether ornot the access request controller 11 b 1 inverts the logic levels of therespective bits of the write data.

Other information than the above-described information (e.g., addressinformation) may be exchanged between the memory controller 11 b and theHBM 12, and description thereof will be omitted for the sake ofsimplification.

The HBM controller 11 b 2 includes a switching unit 11 b 21, an errorrate measurement unit 11 b 22, and an alternation point setting unit 11b 23.

The switching unit 11 b 21 switches a communication line that is beingused, based on setting information set in the alternation point settingunit 11 b 23.

The error rate measurement unit 11 b 22 detects errors of signalspropagating through the communication lines 13 a 1 to 13 a 10 and 13 b 1to 13 b 10 included in the communication line groups 13 a and 13 b,respectively, and counts the number of errors in a predetermined period,to measure the error rates. The errors of the signals propagatingthrough the communication lines 13 a 1 to 13 a 10 and 13 b 1 to 13 b 10included in the communication line groups 13 a and 13 b, respectively,may be detected, for example, using an ECC (Error Check Code) stored inthe HBM 12.

The setting information acquired from the alternation pointdetermination unit 11 b 3 is set in the alternation point setting unit11 b 23. The alternation point setting unit 11 b 23 is implemented by,for example, a plurality of registers.

The alternation point determination unit 11 b 3 generates settinginformation indicating an alternation point (a communication line to bebrought into an unused state), based on a result of a comparison betweenthe error rates and two threshold values TH1 and TH2 (TH1<TH2). Forexample, when the error rate of a signal propagating through acommunication line that belongs to the communication line group 13 a ofthe communication line groups 13 a and 13 b exceeds the threshold valueTH1, the alternation point determination unit 11 b 3 sets thecommunication line as an alternation point. In this case, the spare line13 c is used as one communication line of the communication line group13 a. It is assumed that when the spare line 13 c is used instead of thecommunication line that belongs to the communication line group 13 a,the error rate of the communication line becomes lower than thethreshold value TH2 and the error rate of a signal propagating through acommunication line that belongs to the communication line group 13 bbecomes higher than the threshold value TH2. At this time, thealternation point determination unit 11 b 3 sets the communication linethat belongs to the communication line group 13 b as an alternationpoint. In this case, the spare line 13 c is used as one communicationline of the communication line group 13 b, and the communication linethat belongs to the communication line group 13 a and has been broughtinto an unused state is used for the communication with the HBM 12.

In addition, the threshold value TH1 is, for example, a degree of anerror rate at which a communication is possible (a degree at which astable communication cannot be performed), and the threshold TH2 is, forexample, a high error rate at which a communication cannot be performedat all. The threshold value TH2 may be an upper limit value of the errorrate at which a communication is possible.

Hereinafter, an example of a communication line alternation operation bythe information processing apparatus 10 will be described.

First, it is assumed that the spare line 13 c is not being used. Thealternation point determination unit 11 b 3 receives an error rate of asignal that propagates through each communication line from the errorrate measurement unit 11 b 22 every predetermined period.

For example, when the error rate BER1 of a signal that propagatesthrough the communication line 13 a 3 of the communication line group 13a (the data signal DQ1 in the example of FIG. 1) exceeds the thresholdvalue TH1, the alternation point determination unit 11 b 3 generatessetting information in which the communication line 13 a 3 is set as analternation point. This setting information is set in the alternationpoint setting unit 11 b 23. Then, based on the setting information setin the alternation point setting unit 11 b 23, the switching unit 11 b21 switches the communication line that is being used to bring thecommunication line 13 a 3 into an unused state and perform acommunication using the spare line 13 c instead.

Although not illustrated, the HBM 12 also includes components thatcorrespond to the switching unit 11 b 21 and the alternation pointsetting unit 11 b 23. The setting information generated by thealternation point determination unit 11 b 3 is sent to the HBM 12, andthe same operation as performed in the switching unit 11 b 21 isperformed in the HBM 12 based on the setting information.

It is assumed that when the spare line 13 c is used instead of thecommunication line 13 a 3, the error rate BER1 becomes lower than thethreshold value TH2 and the error rate BER2 of a signal that propagatesthrough the communication line 13 b 2 that belongs to the communicationline group 13 b (the data signal DQ0 in the example of FIG. 1) becomeshigher than the threshold TH2. In this case, the alternation pointdetermination unit 11 b 3 generates setting information in which thecommunication line 13 b 2 is set as an alternation point. This settinginformation is set in the alternation point setting unit 11 b 23 in thesame way as described above. Then, based on the setting information setin the alternation point setting unit 11 b 23, the switching unit 11 b21 switches the communication line that is being used to bring thecommunication line 13 b 2 into an unused state and perform acommunication using the spare line 13 c instead.

At this time, as illustrated in FIG. 1, the switching unit 11 b 21 mayswitch the communication line 13 b 2 to the next communication line 13 b1 to propagate the data signal DQ0, rather than directly switching thecommunication line 13 b 2 to the spare line 13 c. In this case, theswitching unit 11 b 21 performs the switching such that the datainversion control signal DBI propagated by the communication line 13 b 1is propagated using the spare line 13 c. The switching unit 11 b 21 thatperforms the switching may be implemented using a plurality of 2-inputselectors that output one of the two signals to any one of thecommunication lines 13 a 1 to 13 a 10 and 13 b 1 to 13 b 10 and thespare line 13 c based on the setting information.

In addition, the switching unit 11 b 21 switches the communication linethat is being used to perform a communication using the communicationline 13 a 3 that has been brought into an unused state. The sameoperation is performed in the HBM 12.

According to the information processing apparatus 10 and the processor11 described above, since one spare line 13 c provided for every twocommunication line groups 13 a and 13 b is used with priority in acommunication line group to which a communication line that has arelatively high error rate belongs, a relatively worse communicationline is salvaged and the communication stability is enhanced.

In addition, when the threshold TH2 is set to the high error rate atwhich a communication cannot be performed at all or the upper limitvalue of the error rate at which a communication is possible, the spareline 13 c is used with priority in a communication line group to whichan incommunicable communication line belongs, so that it is possible toprevent the occurrence of an incommunicable state.

Comparative Example

FIG. 2 is a view illustrating an example in which one communication linein each of the two communication line groups is brought into an unusedstate.

FIG. 2 illustrates an example in which the communication line 13 a 2 inthe communication line group 13 a is brought into an unused state, andthe communication line 13 b 3 in the communication line group 13 b isbrought into an unused state. In this case, both the data inversioncontrol signal DBI to be propagated in the communication line group 13 aand the data inversion control signal DBI to be propagated in thecommunication line group 13 b are propagated to the spare line 13 c, andas a result, the data inversion control signals DBI cannot be used.Thus, the power consumption of the HBM 12 may increase.

According to the information processing apparatus 10 and the processor11 of the first embodiment, since the spare line 13 c is used withpriority in a communication line group to which a communication linehaving a relatively high error rate belongs, of the communication linegroups 13 a and 13 b, the data inversion control signal DBI is notsacrificed.

Second Embodiment

FIG. 3 is a view illustrating an example of an information processingapparatus and a processor according to a second embodiment.

The information processing apparatus 20 includes a processor 21 and anHBM 22.

The processor 21 is, for example, a CPU, a DSP, a GPU or the like, andincludes a processor core unit 21 a and a memory controller 21 b,similarly to the processor 11 of the first embodiment.

The processor core unit 21 a has the same function as the processor coreunit 11 a of the processor 11 of the first embodiment.

The memory controller 21 b is connected to the HBM 22 by a plurality ofcommunication lines in which one spare line is provided for every twocommunication line groups. In FIG. 3, two communication line groups andone spare line as illustrated in FIG. 1 are collectively illustrated byone arrow, and 8 communication line arrays each of which includes twocommunication line groups and one spare line are provided. When 8-bitdata (the eight data signals DQ0 to DQ7) are propagated percommunication line group as illustrated in FIG. 1, a total of 8×2×8=128bits of data are propagated in the example of FIG. 1. In addition,although not illustrated, when the plurality of communication linesindicated by the eight arrows as described above constitute one channel,a plurality of channels (e.g., eight channels) may be provided betweenthe HBM 22 and the memory controller 21 b. The configuration forperforming a communication using other channels is similar to theconfiguration illustrated in FIG. 3. When the number of channels iseight, 128×8=1024 bits of data may be exchanged between the HBM 22 andthe memory controller 21 b.

In addition, the number of communication line arrays each of whichincludes two communication line groups and one spare line or the numberof channels is not limited to eight.

The memory controller 21 b includes an access request controller 21 ba,an HBM controller 21 bb, and alternation point determination units 21 bc1, 21 bc 2, . . . , and 21 bc 8.

The access request controller 21 ba has the same function as that of theaccess request controller 11 b 1 of the processor 11 of the firstembodiment.

The HBM controller 21 bb includes eight switching units 30 a 1, 30 a 2,. . . , and 30 a 8, an error rate measurement unit 31, and analternation point setting unit 32 in accordance with the number ofcommunication line arrays each of which includes two communication linegroups and one spare line.

Each of the switching units 30 a 1 to 30 a 8 switches a communicationline that is being used, based on setting information set in thealternation point setting unit 32.

The error rate measurement unit 31 detects errors of signals thatpropagate through the communication lines included in each communicationline group, and counts the number of errors in a predetermined period,to measure the error rates. The error rate measurement unit 31 detectsthe errors by, for example, an ECC. Then, the error rate measurementunit 31 supplies the measurement result of the error rates for each ofthe eight arrays and an update control signal for updating the errorrate to a corresponding alternation point determination unit among thealternation point determination units 21 bc 1 to 21 bc 8.

The setting information acquired from the alternation pointdetermination units 21 bc 1 to 21 bc 8 is set in the alternation pointsetting unit 32. The alternate point setting unit 32 is implemented by,for example, a plurality of registers.

The HBM 22 is also provided with switching units 22 a 1, 22 a 2, . . . ,and 22 a 8 which are similar to the switching units 30 a 1 to 30 a 8,and an alternation point setting unit 22 b which is similar to thealternation point setting unit 32.

The alternation point determination unit 21 bc 1 includes a thresholdvalue holding unit 33, an error rate holding unit 34, an alternationpoint determination unit 35, an alternation flag holding unit 36 and asetting information holding unit 37. Each of the alternation pointdetermination units 21 bc 2 to 21 bc 8 has the same components as thosein the alternation point determination unit 21 bc 1.

The threshold value holding unit 33 holds the two threshold values TH1and TH2 (TH1<TH2) as described above regarding the informationprocessing apparatus 10 of the first embodiment.

The error rate holding unit 34 holds an error rate of each signalpropagating through the communication lines included in the twocommunication line groups. Further, when an update of an error rate isinstructed by an update control signal supplied from the error ratemeasurement unit 31, the error rate holding unit 34 updates the helderror rate with an error rate supplied together with the update controlsignal.

The alternation point determination unit 35 compares the error rate heldin the error rate holding unit 34 with the threshold values TH1 and TH2held in the threshold value holding unit 33. Then, based on a result ofthe comparison and two alternation flags held in the alternation flagholding unit 36, the alternation point determination unit 35 determineswhether or not to perform the communication with the HBM 22 using thespare line instead of the communication line that belongs to any one ofthe two communication line groups. Further, based on a result of thedetermination, the alternation point determination unit 35 generatessetting information that indicates an alternation point (a communicationline to be brought into an unused state) and holds the settinginformation in the setting information holding unit 37.

The alternation flag holding unit 36 holds a first alternation flagindicating whether or not a communication line that is being used hasbeen switched based on the result of the comparison between the errorrate and the threshold value TH1, in the two communication line groups.Further, the alternation flag holding unit 36 holds a second alternationflag indicating whether or not a communication line that is being usedhas been switched based on the result of the comparison between theerror rate and the threshold value TH2.

The setting information holding unit 37 holds the setting informationgenerated by the alternation point determination unit 35.

Hereinafter, an example of the communication line alternation operationby the information processing apparatus 20 will be described.

At first, it is assumed that the spare line is not used. In this case,the first alternation flag and the second alternation flag are in thefollowing states.

FIG. 4 is a view illustrating an example of the first alternation flagand the second alternation flag in an initial state.

Both of a first alternation flag 36 a and a second alternation flag 36 bin the two communication line groups (the first communication line groupand the second communication line group) are “OFF.” Each of the firstalternation flag 36 a and the second alternation flag 36 b may beexpressed by a 2-bit value.

Further, in the initial state, the switching unit 30 a 1 is in thefollowing state.

FIG. 5 is a view schematically illustrating the state of the switchingunit in the initial state. FIG. 5 schematically illustrates the state ofthe switching unit 30 a 1 in the initial state, and the other switchingunits 30 a 2 to 30 a 8 are also in the same state.

In the initial state, the data signals DQ0, DQ1, . . . , DQ7, the datamask signal DM, and the data inversion control signal DBI are propagatedby the communication lines 38 a 1, 38 a 2, 38 a 3, . . . , 38 a 9, and38 a 10 included in the communication line group 38 a. Further, the samesignals as described above are propagated by the communication lines 38b 1, 38 b 2, 38 b 3, . . . , 38 b 9, and 38 b 10 included in thecommunication line group 38 b. No signal is propagated to the spare line38 c.

When an error rate and an update control signal for instructing anupdate of an error rate are received from the error rate measurementunit 31, the alternation point determination unit 21 bc 1 performs thefollowing operation. In the following, it is assumed that thealternation point determination unit 21 bc 1 receives error rates of thesignals that propagate through the communication lines 38 a 1 to 38 a 10and 38 b 1 to 38 b 10 included in the communication line groups 38 a and38 b illustrated in FIG. 5.

FIG. 6 is a flowchart illustrating a flow of an example of the operationof the alternation point determination unit.

The error rate holding unit 34 of the alternation point determinationunit 21 bc 1 updates the error rate held therein using the receivederror rate (step S1). The alternation point determination unit 35determines whether or not there is a communication line in which anupdated error rate BER becomes higher than the threshold value TH1 (stepS2). When it is determined that there is no communication line in whichthe error rate BER becomes higher than the threshold value TH1, thechange of an alternation point is not performed, and the operation ofthe alternation point determination unit 21 bc 1 is ended.

When it is determined that there is a communication line in which theerror rate BER becomes higher than the threshold value TH1, thealternation point determination unit 35 determines whether or not theerror rate BER of the communication line is higher than the thresholdvalue TH2 (step S3).

When it is determined that the error rate BER does not exceed thethreshold value TH2, the alternation point determination unit 35determines whether or not both the first alternation flag and the secondalternation flag for the communication line groups 38 a and 38 b are OFF(step S4). When it is determined that both the first alternation flagand the second alternation flag for the communication line groups 38 aand 38 b are not OFF, since the spare line 38 c is being used, thechange of an alternation point is not performed, and the operation ofthe alternation point determination unit 21 bc 1 is ended.

When it is determined that both the first alternation flag and thesecond alternation flag for the communication line groups 38 a and 38 bare OFF, the alternation point determination unit 35 sets the firstalternation flag of a communication line group to which a communicationline where BER>TH1 belongs (described as an own communication line groupin FIG. 6) to ON. Then, the alternation point determination unit 35determines the communication line where BER>TH1 as an alternation point(step S5). In step S5, the alternation point determination unit 35generates setting information in which the communication line whereBER>TH1 is set as an alternation point (unused), and holds the generatedsetting information in the setting information holding unit 37. Thesetting information is set in the alternation point setting unit 32 ofthe HBM controller 21 bb or the alternation point setting unit 22 b ofthe HBM 22 at a predetermined timing, and the switching units 22 a 1 and30 a 1 switch a communication line that is being used based on thesetting information set in the alternation point setting units 22 b and32.

FIG. 7 is a view illustrating a modification of the first alternationflag.

The flag of the first communication line group (e.g., any one of thecommunication line groups 38 a and 38 b) that has been “OFF” in thefirst alternation flag 36 a of the initial stage illustrated in FIG. 4is changed to “ON.”

FIG. 8 is a view illustrating an example in which a communication linethat is being used is switched. FIG. 8 schematically illustrates thestate of the switching unit 30 a 1 in a case where the communicationline 38 a 2 is an alternation point.

The communication line that is being used is switched such that thecommunication line 38 a 2 that belongs to the communication line group38 a is brought into an unused state, and the data signal DQ0 ispropagated by the next communication line 38 a 3. In addition, thecommunication line is switched such that the data inversion controlsignal DBI is propagated using the spare line 38 c.

After step S5, the operation of the alternation point determination unit21 bc 1 for one error rate reception is ended.

When it is determined in step S3 that the error rate BER of thecommunication line is higher than the threshold value TH2, thealternation point determination unit 35 determines whether or not bothof the second alternation flags for the communication line groups 38 aand 38 b are OFF (step S6).

When it is determined that both of the second alternation flags for thecommunication line groups 38 a and 38 b are OFF, the alternation pointdetermination unit 35 sets the second alternation flag of acommunication line group to which a communication line where BER>TH2belongs (described as an own communication line group in FIG. 6) to ON.Then, the alternation point determination unit 35 determines thecommunication line where BER>TH2 as an alternation point (step S7). Instep S7, the alternation point determination unit 35 generates settinginformation in which the communication line where BER>TH1 is set as analternation point (unused), and holds the generated setting informationin the setting information holding unit 37. The setting information isset in the alternation point setting unit 32 of the HBM controller 21 bbor the alternation point setting unit 22 b of the HBM 22 at apredetermined timing, and the switching units 22 a 1 and 30 a 1 switch acommunication line that is being used based on the setting informationset in the alternation point setting units 22 b and 32.

FIG. 9 is a view illustrating a modification of the second alternationflag.

The flag of the second communication line group (e.g., any one of thecommunication line groups 38 a and 38 b) that has been “OFF” in thesecond alternation flag 36 b of the initial stage illustrated in FIG. 4is changed to “ON.”

In addition, as illustrated in FIG. 9, in the first alternation flag 36a, the flag of the first communication line group (e.g., any one of thecommunication line groups 38 a and 38 b) is also “ON,” and the spareline 38 c is being used instead of a communication line belonging to thefirst communication line group. However, when the flag of the secondcommunication line group in the second alternation flag 36 b becomes“ON,” the spare line 38 c is used instead of a communication linebelonging to the second communication line group.

FIG. 10 is a view illustrating an example in which a communication lineis switched when the second alternation flag becomes ON in a state wherethe spare line is being used. FIG. 10 illustrates an example in whichthe flag of the second communication line group in the secondalternation flag 36 b becomes “ON” in a state where the spare line 38 cis being used instead of a communication line that belongs to thecommunication line group 38 a.

In the example of FIG. 10, the communication line that is being used isswitched such that the communication line 38 b 2 that belongs to thecommunication line group 38 b is brought into an unused state, and thedata signal DQ0 is propagated by the adjacent communication line 38 b 1.In addition, the communication line is switched such that the datainversion control signal DBI is propagated using the spare line 38 c.

After step S7, the operation of the alternation point determination unit21 bc 1 for one error rate reception is ended.

When it is determined in step S6 that at least one of the secondalternation flags of the communication line groups 38 a and 38 b is ON,the alternation point determination unit 35 generates settinginformation indicating that an alternation is not possible (step S8). Inaddition, the alternation point determination unit 35 may hold thesetting information indicating that an alternation is not possible inthe setting information holding unit 37 or may notify the settinginformation to the processor core unit 21 a.

After step S8, the operation of the alternation point determination unit21 bc 1 for one error rate reception is ended.

The alternation point determination unit 21 bc 1 performs theabove-described operation each time an error rate is received from theerror rate measurement unit 31.

According to the information processing apparatus 20 and the processor21 of the second embodiment described above, the same effects as thosein the information processing apparatus 10 and the processor 11 of thefirst embodiment may be obtained. That is, since one spare line providedfor every two communication line groups is used with priority in acommunication line group to which a communication line having arelatively high error rate belongs, the relatively worse communicationline is salvaged and the communication stability is enhanced.

Further, the alternation point determination unit 21 bc 1 determines analternation point using the first alternation flag and the secondalternation flag as described above, so that it is possible to avoid anupdate of the setting information in a situation where a change of analternation point is unnecessary. The situation where a change of analternation point is unnecessary is, for example, a case where a signalof which the error rate exceeds the threshold value TH1 and does notexceed the threshold value TH2 is found again, or a signal of which theerror rate exceeds the threshold value TH2 is found again. In such asituation, since the spare line 38 c is already used instead of acommunication line which has propagated a signal of the same error rate,it is unnecessary to change an alternation point.

All examples and conditional language recited herein are intended forpedagogical purposes to aid the reader in understanding the inventionand the concepts contributed by the inventor to furthering the art, andare to be construed as being without limitation to such specificallyrecited examples and conditions, nor does the organization of suchexamples in the specification relate to an illustrating of thesuperiority and inferiority of the invention. Although the embodimentsof the present invention have been described in detail, it should beunderstood that the various changes, substitutions, and alterationscould be made hereto without departing from the spirit and scope of theinvention.

What is claimed is:
 1. A processor comprising: a memory control circuitconnected to a memory by a first communication line group and a secondcommunication line group and the memory control circuit configured to:measure an error rate of a signal that propagates through acommunication line included in each of the first communication linegroup and the second communication line group; when a first error rateof a signal that propagates through a first communication line includedin the first communication line group exceeds a first threshold valueand the first communication line is used to perform a firstcommunication with the memory, switch the first communication line to aspare line as a communication line used to perform the firstcommunication; when the first communication is performed using the spareline, a second error rate of a signal that propagates through a secondcommunication line included in the second communication line groupexceeds a second threshold value higher than the first threshold value,the second communication line is used to perform a second communicationwith the memory, and the first error rate is lower than the secondthreshold value, switch the spare line to the first communication lineas a communication line used to perform the first communication andswitch the second communication line to the spare line as acommunication line used to perform the second communication; generatesetting information that indicates the first communication line or thesecond communication line to be brought into an unused state, based on aresult of a comparison between the error rates and the first and secondthreshold values; switch to use the spare line to perform the firstcommunication or the second communication based on the settinginformation; hold a first flag that indicates whether a communicationline used for the first communication or the second communication isswitched based on a result of a comparison between an error rate and thefirst threshold value; hold a second flag that indicates whether acommunication line used for the first communication or the secondcommunication is switched based on a result of a comparison between anerror rate and the second threshold value; and determine whether to usethe spare line to perform the first communication or the secondcommunication based on the results of the comparisons and the first andsecond flags; and a processor core configured to exchange informationwith the memory via the memory control circuit.
 2. The processoraccording to claim 1, wherein the second threshold value is an upperlimit value of an error rate at which a communication is possible or anerror rate at which a communication is not possible.
 3. An informationprocessing apparatus comprising: a memory; a memory control circuitconnected to the memory by a first communication line group and a secondcommunication line group and the memory control circuit configured to:measure an error rate of a signal that propagates through acommunication line included in each of the first communication linegroup and the second communication line group; when a first error rateof a signal that propagates through a first communication line includedin the first communication line group exceeds a first threshold valueand the first communication line is used to perform a firstcommunication with the memory, switch the first communication line to aspare line as a communication line used to perform the firstcommunication; when the first communication is performed using the spareline, a second error rate of a signal that propagates through a secondcommunication line included in the second communication line groupexceeds a second threshold value higher than the first threshold value,the second communication line is used to perform a second communicationwith the memory, and the first error rate is lower than the secondthreshold value, switch the spare line to the first communication lineas a communication line used to perform the first communication andswitch the second communication line to the spare line as acommunication line used to perform the second communication; generatesetting information that indicates the first communication line or thesecond communication line to be brought into an unused state, based on aresult of a comparison between the error rates and the first and secondthreshold values; switch to use the spare line to perform the firstcommunication or the second communication based on the settinginformation; hold a first flag that indicates whether a communicationline used for the first communication or the second communication isswitched based on a result of a comparison between an error rate and thefirst threshold value; hold a second flag that indicates whether acommunication line used for the first communication or the secondcommunication is switched based on a result of a comparison between anerror rate and the second threshold value; and determine whether to usethe spare line to perform the first communication or the secondcommunication based on the results of the comparisons and the first andsecond flags; and a processor core configured to exchange informationwith the memory via the memory control circuit.